package com.ayuan.blog.bean;

import com.ayuan.blog.common.util.DateUtils;
import com.ayuan.blog.domain.Article;
import lombok.Data;

/**
 * Created by xiaozhu on 15/12/16.
 */
@Data
public class ArticleInfo extends Article {

    private String tags;
    private String clasfName;

    public String getCreateDateStr() {
        return DateUtils.formatDate(getCreateDate(), "yyyy-MM-dd");
    }
}
